# $Id: PKGBUILD 83186 2013-01-27 16:28:06Z pierre $
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Maintainer: Kevin Piche <kevin@archlinux.org>

pkgname=zile
pkgver=2.4.9
pkgrel=1
pkgdesc="A small, fast, and powerful Emacs clone"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/zile/"
license=('GPL3')
depends=('acl' 'gc' 'ncurses')
source=(http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.sig})
sha1sums=('f233487e2d0ce99d7670832d106d1a2503d4c925'
          'cfc6f526bd4f14e127b32f91ae3e414e58d722c3')

build() {
  cd "${srcdir}"/${pkgname}-${pkgver}
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}"/${pkgname}-${pkgver}
  make DESTDIR="${pkgdir}" install
}
